import React from 'react';
import { BrowserRouter as Router, Switch,Route,Link } from 'react-router-dom'

import App from '../App'
import ONE from '../Component/one'
import Two from '../Component/two'

export default class RouterIndex extends React.Component{
    render(){
        return(
            <Router>
                <Route path='/' component={ App } ></Route>
                <Route path='../Component/one' component={ ONE } ></Route>
                <Route path='../Component/two' component={ Two } ></Route>
            </Router>
        )
    }
}